﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Campus.Entities
{
    [Table("DiasDeLaSemana")]
    public class DiaDeLaSemana
    {
        public int DiaDeLaSemanaId { get; set; }
        
        [Required(ErrorMessage = "El {0} es requerido")]
        [StringLength(20, ErrorMessage = "El {0} no puede tener mas 20 caracteres")]
        public string Nombre { get; set; }
    }
}
